<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      #container {
        overflow: hidden;
      }
      .box1 {
        height: 100px;
        width: 100px;
        margin-bottom: 200px;
        background-color: chartreuse;
        overflow: hidden;
      }
      .box2 {
        height: 100px;
        width: 100px;
        margin-top: 100px;
        background-color: rgb(17, 0, 255);
        overflow: hidden;
      }
    </style>
  </head>
  <body>
    <div id="container">
      <div class="box1"></div>
    </div>
    <div class="box2"></div>
  </body>
</html>
